      <table id="user-table" class="table table-striped table-hover" data-search-form="#user-search-form">
          <thead>
            <tr>
              <th>{{'课程'|trans}}</th>
              <th>{{'实付'|trans}}</th>
              <th>{{'价格'|trans}}</th>
              <th>{{'优惠'|trans}}</th>
              <th>{{'购买者'|trans}}</th>
              <th>{{'下单&支付时间'|trans}}</th>
            </tr>
          </thead>
          <tbody>
            {% if classroomIncomeDetail %}
            {% for data in classroomIncomeDetail %}
            {% if classrooms[data.targetId].price|default(null)%}
              <tr>
                   <td>{{data.title}}<br>{{'订单号:'|trans}}{{data.sn}}</td>
                    <td class="text-danger">{{data.amount}}</td>
                    <td class="text-danger">{{data.totalPrice}}</td>
                    <td>{% if  data.coupon %}{{'优惠码'|trans}}<br>[{{data.coupon}}]{% endif %}</td>
                   <td> {{ admin_macro.user_link(users[data.userId]) }}</td>
                   <td>{{data.createdTime|date("Y-m-d H:i:s")}}<br>{{data.paidTime|date("Y-m-d H:i:s")}}</td>
              </tr>
              {% else %}
              <tr class="danger">
                    <td>{{data.title}}({{'此课程已不存在'|trans}})<br>{{'订单号:'|trans}}{{data.sn}}</td>
                    <td class="text-danger">{{data.amount}}</td>
                    <td class="text-danger"> --</td>
                    <td>{% if  data.coupon %}{{'优惠码'|trans}}<br>[{{data.coupon}}]{% endif %}</td>
                   <td> {{ admin_macro.user_link(users[data.userId]) }}</td>
                   <td>{{data.createdTime|date("Y-m-d H:i:s")}}<br>{{data.paidTime|date("Y-m-d H:i:s")}}</td>
              </tr>
              {% endif %}
            {% endfor %}
            {% endif %}
          </tbody>
      </table>    
      {{ admin_macro.paginator(paginator) }}